Deleting an HQ unit while its command range
is displayed, or deleting an air unit while its 
command range is displayed will result in an
"Untrapped Error" message.  This appears to
be a core Vassal issue.  Ultimately, the 
error message is harmless and the piece will 
delete properly once you clear the error 
message window.